// 小程序登录-内测版
// POST
// /login/wxMin/simple

import type { LoginResult } from '@/types/member'
import { http } from '@/utils/request'

/**
 * 小程序登录-内测版
 * @param phoneNumber
 */
export const loginWxMinSimpleAPI = (phoneNumber: string) => {
  return http<LoginResult>({
    url: '/login/wxMin/simple',
    method: 'POST',
    data: {
      phoneNumber
    }
  })
}
